package io.github.luons.mediator.core.enums;

import io.github.luons.mediator.core.spi.result.ResultCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * connector
 *
 * @author : luons
 */
@Getter
@AllArgsConstructor
public enum Connector implements ResultCode {

    /**
     * Connector
     */
    AND(0, "AND"),
    OR(1, "OR"),
    HAVING(2, "HAVING"),
    ;
    /**
     * code
     */
    private final Integer code;
    /**
     * message
     */
    private final String name;

}
